package com.noble.meether.mail.util;

/**
 * 不保存消息 type
 */
public enum NoSaveMsgType {
    // 系统消息
    System_MsgType(7),;

    public long msgType;

    NoSaveMsgType(long msgType) {
        this.msgType = msgType;
    }

    public static NoSaveMsgType getNoSaveMsgType(long msgType) {
        for (NoSaveMsgType noSaveMsgType : NoSaveMsgType.values()) {
            if (noSaveMsgType.msgType == msgType) {
                return noSaveMsgType;
            }
        }
        return null;
    }
}